
#include"staff.h"
istream& operator>>(istream& in, Staff& s)
{
	in >> s.m_id >> s.m_name >> s.m_unit >> s.m_nums >> s.m_bas >> s.m_allowance >> s.m_tax >> s.m_fund;
	return in;
}
ostream& operator<< (ostream& out, const Staff& s)
{
	out << s.m_id << " " << s.m_name << " " << s.m_unit << " " << s.m_nums << " " << s.m_bas << " " << s.m_allowance << " " << s.m_tax << " " << s.m_fund;
	return out;
}